Top | ![]() |
![]() |
![]() |
![]() |
GDataBatchable is implemented by GDataCalendarService, GDataDocumentsService and GDataYouTubeService.
GDataBatchable is an interface which can be implemented by GDataServices which support batch operations on their entries. It allows the creation of a GDataBatchOperation for the service, which allows a set of batch operations to be run.
GDataBatchOperation * gdata_batchable_create_operation (GDataBatchable *self
,GDataAuthorizationDomain *domain
,const gchar *feed_uri
);
Creates a new GDataBatchOperation for the given GDataBatchable service, and with the given feed_uri
. feed_uri
is normally the GDATA_LINK_BATCH
link URI in the appropriate GDataFeed from the service. If authorization will be required to perform any of the requests in the batch operation,
domain
must be non-NULL
, and must be an authorization domain which covers all of the requests. Otherwise, domain
may be NULL
if authorization
is not required.
self |
||
domain |
the GDataAuthorizationDomain to authorize the operation, or |
[allow-none] |
feed_uri |
the URI to send the batch operation request to |
Since: 0.9.0
typedef struct _GDataBatchable GDataBatchable;
All the fields in the GDataBatchable structure are private and should never be accessed directly.
Since: 0.7.0
typedef struct { gboolean (*is_supported) (GDataBatchOperationType operation_type); } GDataBatchableIface;
All the fields in the GDataBatchableIface structure are private and should never be accessed directly.
Determines whether the given GDataBatchOperationType is
supported by this GDataBatchable; if not, operations using it will return
|
Since: 0.7.0